import service1 from '../utils/request1'

// 考核列表 查看
export function people_list(payload = {}) {
    return service1.get('/api/achielist', { params: payload })
}

//考核列表 删除
export function people_delete(payload: any = {}) {
    return service1.get('/api/achiedel', { params: payload })
}

//考核列表 搜索
export function people_search(payload = {}) {
    return service1.get('/api/achiesearch', { params: payload })
}

//考核列表 新增
export function people_add(payload = {}) {
    return service1.post('/api/achieadd', payload)
}

//员工绩效档案 查看
export function people_files(payload = {}) {
    return service1.get('/api/achiestaff', { params: payload })
}

//员工绩效档案 搜索
export function people_filesearch(payload = {}) {
    return service1.get('/api/achieinformation', { params: payload })
}


//指标库
export function people_standard(payload = {}) {
    return service1.get('/api/achiesuclist', { params: payload })
}


//指标库 删除
export function people_standdel(payload: any = {}) {
    return service1.get('/api/achiesucdel', { params: payload })
}

//指标库 搜索
export function people_standsearach(payload = {}) {
    return service1.get('/api/achiesucsearch', { params: payload })
}


//指标库 新增
export function people_standadd(payload = {}) {
    return service1.post('/api/achiesucedit', payload)
}

//考核模板 查看
export function people_module(payload = {}) {
    return service1.get('/api/achiesuclist', { params: payload })
}
// *
//考核模板 搜索
export function people_modulesearch(payload = {}) {
    return service1.get('/api/achiesucsearch', { params: payload })
}

//审批表单 查看 /api/achiepeoplelist
export function people_agree(payload = {}) {
    return service1.get('/api/achiepeoplelist', { params: payload })
}

//审批表单 搜索
export function people_agreesearch(payload = {}) {
    return service1.get('/api/achiesucsearch', { params: payload })
}

//审批表单 删除
export function people_agreedel(payload: any = {}) {
    return service1.get('/api/achiesucdel', { params: payload })
}
// 审批表单 新增 /api/achieformadd
export function people_agreeadd(payload = {}) {
    return service1.post('/api/achieformadd', payload)
}